<!DOCTYPE html>
<!-- 引入thumeleaf的命名空间-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>hello thymeleaf</h1>
    <hr>
    <div>
        <!--th:text 将表达式中的值取出放入标签-->
        国家：<span th:text="${country.name}"></span>
        首都：<span th:text="${country.capital}"></span>
        地址：<span th:text="${country.location}"></span>

    </div>
</body>
</html>